package com.zlcx.tz.live.client.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * DES :
 * 2017/12/19 20:04
 * CREATE BY zhangxiaobin
 */
@Data
public class BaseCondition {

    @ApiModelProperty(value = "页码,从1开始，默认：1", required = true)
    private Integer pageNumber = 1;

    @ApiModelProperty(value = "页大小，最小10，最大100，默认：10", required = true)
    private Integer pageSize = 10;

    @ApiModelProperty(value = "排序，默认降序:DESC, 升序:ASC", required = false)
    private String sortType = "DESC";

    @ApiModelProperty(value = "排序字段，默认createTime", required = false)
    private String sortColumn = "createTime";
}
